package com.zbkj.crmeb.store.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * TODO
 *
 * @author eleven
 * @date 2021/7/17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StoreOrderExcelModel extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("订单号")
    private String orderId;

    @ExcelProperty("商品名称")
    private String goodName;

    @ExcelProperty("商品编号")
    private String goodNo;

    @ExcelProperty("商品数量")
    private Integer totalNum;

    @ExcelProperty("商品价格")
    private BigDecimal goodPrice;

    @ExcelProperty("订单优惠金额")
    private BigDecimal userMarkPrice;

    @ExcelProperty("订单实付金额")
    private BigDecimal payPrice;

    @ExcelProperty("订单状态")
    private String statusName;

    @ExcelProperty("付款门店")
    private String shopName;

    @ExcelProperty("提货方式")
    private String shippingTypeName;

    @ExcelProperty("收货人/提货人")
    private String addressUserName;

    @ExcelProperty("收货地址/提货门店")
    private String addressShopName;

    @ExcelProperty("手机号")
    private String addressUserPhone;

    @ExcelProperty("是否平台首次下单")
    private String firstOrderFlag;

    @ExcelProperty("下单用户ID")
    private Integer uid;

    @ExcelProperty("下单用户姓名")
    private String realName;

    @ExcelProperty("下单用户手机号")
    private String userPhone;

    @ExcelProperty("下单时间")
    private String createTime;

    @ExcelProperty("下单用户会员卡号")
    private String userNo;

    @ExcelProperty("下单用户身份")
    private String userMarkName;

    @ExcelProperty("归属上级用户ID")
    private Integer parentUserId;

    @ExcelProperty("归属上级用户昵称")
    private String parentUserName;

    @ExcelProperty("归属上级会员卡号")
    private String parentUserNo;

    @ExcelProperty("归属上上级用户ID")
    private Integer supParentUserId;

    @ExcelProperty("归属上上级用户昵称")
    private String supParentUserName;

    @ExcelProperty("归属上上级会员卡号")
    private String supParentUserNo;
}
